search entry: Don't propagate handled events
authorMatthias Clasen <mclasen@redhat.com>
Thu, 10 Sep 2020 02:26:27 +0000 (22:26 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 10 Sep 2020 02:26:27 +0000 (22:26 -0400)
commitd47d0366631013ae2c7cbefc71e0976290d7be20
tree378f390a0acb459da222688687d6df4bea8d4567
parent5c67fe0bc26d44707ecc0b24bcbf24d9bcc9cb93
search entry: Don't propagate handled events

When the text says it has handled the event,
trust it. We don't want to emit ::search-started
if the content hasn't changed, but we still
should not propagate e.g. an Insert key press
if it has already toggled overwrite mode in
the text.

Fixes: #2874
gtk/gtksearchentry.c